#pragma once
#include <Ogre.h>

#define CFG_KEY_MUSIC_VOL	"Music Volumn"
#define CFG_KEY_FX_VOL		"FX Volumn"
#define CFG_KEY_RENDERER	"Render System"
#define CFG_KEY_FULLSCREEN	"Full Screen"
#define CFG_KEY_VIDEO		"Video Mode"
#define CFG_KEY_FSAA		"FSAA"
#define CFG_KEY_DEVICE		"Rendering Device"
#define CFG_KEY_CAM			"Control Device"

#define PARAM_SAVE			"-save"
#define PARAM_HELP			"-help"
#define PARAM_STARTANDSAVE	"-startandsave"

#define MAX_PIXEL_ERROR		10

class Base;
class Sounder;

bool write_to_cfg(const Ogre::ConfigOptionMap& configs, float music_vol = 1.f, float fx_vol = 1.f, Ogre::String cam_selected = "", bool* dir_created = NULL);
